function ListNode(val) {
  this.val = val;
  this.next = null
}


let node = head

for (let i = 0; i < 10; i++) {
  node = node.next
}